Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a requirements.txt file to the course directory with dependencies (currently tied to version),and pytest integration tests to test the code works.
Ideally, requirements.txt will be versionless to test for breaking changes or deprecation notices on current versions and notify of any changes.
For the remote repos (llm-chatbot-python, etc), these can be run via a scheduled github action to regularly test on the current version.
Additional Updates
Updates to imports:
from langchain_community.graphs import Neo4jGraph
from langchain_neo4j import Neo4jGraph
from langchain_community.vectorstores import Neo4jVector
from langchain_neo4j import Neo4jVector
from langchain_community.chat_message_histories import Neo4jChatMessageHistory
from langchain_neo4j.chat_message_histories.neo4j import Neo4jChatMessageHistory
OPENAI_API_KEY
variableThis will establish a convention across all courses that is in line with other platforms (deeplearning, DataCamp)
Replace:
With:
TODO:
pytest
integration tests to course repos: